//
//  OrdetailViewModel.h
//  xingfugangwan
//
//  Created by rainday on 15/1/5.
//  Copyright (c) 2015年 rainday. All rights reserved.
//

#import <Foundation/Foundation.h>



@class RACSignal;

@interface OrdetailViewModel : NSObject
@property (nonatomic ,strong) NSString *state;


- (id)initWithOrderId:(id)orderid;


- (NSInteger)numerOfSection;
- (NSInteger)numberOfRowsInSection:(NSInteger)section;
- (NSString *)titleForRowInIndexPath:(NSIndexPath *)indexPath;
- (NSString *)titleForHeaderOfSection:(NSInteger)section;

- (NSString *)detailForRowInIndexPath:(NSIndexPath *)indexPath;

- (RACSignal *)fetchOrderDataWithOrderId:(id)orderId;
@end
